home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / misc / amag / am9305d.lha / EGS.lha / EGS / EGS_Devels / doc / gbselect.doc < prev    next >
Text File  |  1993-03-18  |  2KB  |  104 lines

  1. /*
  2. *  $
  3. *  $ FILE     : gbselect.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 10:00
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16.  
  17. gbselect.library/EGB_CreateSelectGadget
  18. gbselect.library/EGB_CreateTextSelectGadget
  19. gbselect.library/EGB_ModifySelectGadget
  20.  
  21. gbselect.library/EGB_CreateSelectGadget
  22. NAME
  23.   EGB_CreateSelectGadget    create a gadbox select gadget
  24.  
  25. SYNOPSIS
  26.   box  = EGB_CreateSelectGadget(con, id, elems);
  27.   D0                            A0   D0  A1
  28.  
  29.   EB_GadBoxPtr        box;
  30.   EB_GadContext       con;
  31.   LONG                id;
  32.   EGB_GadBoxArrayPtr  elems;
  33.  
  34. FUNCTION
  35.   Creates a gadbox select gadget. These gadgets offer several choices,
  36.   one of them is active at any time. The active one is displayed. If the
  37.   user clicks on the gadget, the next (or prev using shift) one becomes
  38.   active and displayed.
  39.  
  40. INPUTS
  41.   con     : The associated gadget context
  42.   id      : The gadgets id
  43.   elems   : An array of EB_GadBoxPtr. Each of them represents one choice.
  44.  
  45. RESULT
  46.  
  47.  
  48.  
  49.  
  50. gbselect.library/EGB_CreateTextSelectGadget
  51. NAME
  52.   EGB_CreateTextSelectGadget    creates a select gadget with text items
  53.  
  54. SYNOPSIS
  55.   box  = EGB_CreateTextSelectGadget(con , id, elems);
  56.   D0                                A0    D0  A1
  57.  
  58.   EB_GadBoxPtr      box;
  59.   EB_GadContext     con;
  60.   LONG              id;
  61.   EB_StrArrayPtr    elems;
  62.  
  63. FUNCTION
  64.   Creates a gadbox select gadget with text choices. (see
  65.   EGB_CreateSelectGadget for more information).
  66.  
  67. INPUTS
  68.   con    : Associated gadget context
  69.   id     : The gadgets id
  70.   elems  : An array of strings, each representing one choice.
  71.  
  72. RESULT
  73.  
  74.  
  75.  
  76.  
  77. gbselect.library/EGB_ModifySelectGadget
  78. NAME
  79.   EGB_ModifySelectGadget
  80.  
  81. SYNOPSIS
  82.   EGB_ModifySelectGadget(win, gad, num);
  83.              A0   A1   D0
  84.  
  85.   EI_WindowPtr   win;
  86.   EI_GadgetPtr   gad;
  87.   WORD           num;
  88.  
  89. FUNCTION
  90.   Changes the active element of a select gadget.
  91.  
  92. INPUTS
  93.   win    : The window, that contains the gadget; if NULL, no refresh is done
  94.   gad    : The select gadget
  95.   num    : The number of the element to become the active one
  96.  
  97. RESULT
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.